package cn.tedu.hospitalgroupproject.server.content.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("t_hospital_notice")
public class HospitalNotice implements Serializable {
    /*
    * 医院公告ID*/
    @TableId(type = IdType.AUTO)
    private Long id;
    private String head;
    private String imgUrl;
    private String content;
    /*
     * 医生ID*/
    private Long doctorId;
    /**
     * 数据创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    /**
     * 数据最后修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

}
